#ifndef WIDGET1_H
#define WIDGET1_H

#include <QWidget>
#include <form1_1.h>
#include "project.h"
#include "widget.h"


namespace Ui {
class Widget1;
}

class Form1_1;

class Widget1 : public QWidget
{
    Q_OBJECT

public:
    explicit Widget1(FlightBookingSystem& system,Widget *las,QWidget *parent = nullptr);
    ~Widget1();

    string destination;

    Widget *last=nullptr;

    Form1_1 *page1_1=nullptr;

    FlightBookingSystem& bookingSystem;

signals:
    void back();

private slots:

    void on_pushButton_cancel_clicked();

    void on_pushButton_determine_clicked();

    void on_lineEdit_textChanged(const QString &arg1);

private:
    Ui::Widget1 *ui;

};

#endif // WIDGET1_H
